import Vue from 'vue'
import Vuex from 'vuex'

import user from './modules/user'
import { getters } from './getters'
Vue.use(Vuex)

export default new Vuex.Store({
  // getters: {
  //   token: state => {
  //     return state.user.token
  //   }
  // },
  getters,
  modules: {
    user
  }
})
